CHOST="x86_64-pc-linux-gnu" \
CFLAGS="-march=amdfam10 -O2 -pipe" \
CXXFLAGS="${CFLAGS}" \
./configure \
--build=x86_64-linux-gnu \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--includedir=/usr/include \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/squid \
--srcdir=. \
--disable-maintainer-mode \
--disable-silent-rules \
--datadir=/usr/share/squid \
--sysconfdir=/etc/squid \
--mandir=/usr/share/man \
--enable-ssl \
--enable-ssl-crtd \
--enable-inline \
--enable-async-io=24 \
--enable-storeio="ufs,aufs,diskd,rock" \
--enable-removal-policies="lru,heap" \
--enable-delay-pools \
--enable-cache-digests \
--enable-icap-client \
--enable-http-violations \
--enable-follow-x-forwarded-for \
--enable-external-acl-helpers="file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,unix_group,wbinfo_group" \
--enable-url-rewrite-helpers="fake" \
--enable-eui \
--enable-esi \
--enable-icmp \
--enable-snmp \
--enable-zph-qos \
--enable-ltdl-convenience \
--enable-x-accelerator-vary \
--disable-dependency-tracking \
--disable-strict-error-checking \
--disable-arch-native \
--disable-translation \
--disable-ipv6 \
--disable-auth \
--with-swapdir=/var/spool/squid \
--with-logdir=/var/log/squid \
--with-pidfile=/var/run/squid.pid \
--with-aufs-threads=24 \
--with-filedescriptors=65536 \
--with-large-files \
--with-openssl \
--with-aio \
--with-dl \
--with-default-user=proxy \
--enable-build-info="Ubuntu linux" \
--enable-linux-netfilter build_alias="x86_64-linux-gnu"